package cn.blog.service;

import cn.blog.dto.LoginUser;
import cn.blog.dto.Token;

public interface TokenService {
	Token saveToken(LoginUser loginUser);

	void refresh(LoginUser loginUser);

	LoginUser getLoginUser(String token);

	boolean deleteToken(String token);
}